PXC Documentation

PXC Home

Find pixel

pre 1.18

Get the position of the first pixel with a given color.



Node Data

ColorArray

Display name

Find pixel

Internal name

Node_Find_Pixel

Inheritances

node
node_processor
node_find_pixel

Inputs

node_find_pixel

surface

Surface In

color

Search Color

float

Tolerance

bool

Find All

bool

Include Alpha

float

Alpha Tolerance

enum

Axis

Outputs

node_find_pixel

integer

Position

This node will search throught every pixel in the image and returns the position of the pixel with a given color. With [0, 0] be the top left of the image, x axis goes to the right and y axis goes down.



Properties


Property Description
Search Color Color of the pixel to find
Tolerance How much the color can differ from the search color to be match
Find All Returns all matches pixel instead of the first pixel
Include Alpha Include alpha channel in the search
Alpha Tolerance How much the alpha channel can differ from the search color to be match